package com.hongdee.scm.approvalflow.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 名  称:approvalflowdetail
 * 类  型:class
 * 描  述:
 * 路  径:com.hongdee.scm.approvalflow.entity
 * 作  者: 术洪超
 * 日  期:2017-06-19 17:47
 */
@Entity
@Table(name = "T_SCM_APPROVALFLOW_DETAIL")
public class TScmApprovalflowDetail extends BaseEntity {

    //调拨ID
    @Column(name = "allocation_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '调拨ID'")
    private String allocationId;

    //审批人
    @Column(name = "approvaler", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批人'")
    private String approvaler;

    //审批状态
    @Column(name = "approval_status", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批状态'")
    private String approvalStatus;

    //审批时间
    @Column(name = "approval_date", length = 32, columnDefinition = "VARCHAR(32) COMMENT '审批时间'")
    private String approvalDate;

    //审批意见
    @Column(name = "approval_opinion", length =255, columnDefinition = "VARCHAR(255) COMMENT '审批意见'")
    private String approvalOpinion;

    //公司ID
    @Column(name = "company_id", length = 32, columnDefinition = "VARCHAR(32) COMMENT '公司ID'")
    private String companyId;

    public String getAllocationId() {
        return allocationId;
    }

    public void setAllocationId(String allocationId) {
        this.allocationId = allocationId;
    }

    public String getApprovaler() {
        return approvaler;
    }

    public void setApprovaler(String approvaler) {
        this.approvaler = approvaler;
    }

    public String getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        this.approvalStatus = approvalStatus;
    }

    public String getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(String approvalDate) {
        this.approvalDate = approvalDate;
    }

    public String getApprovalOpinion() {
        return approvalOpinion;
    }

    public void setApprovalOpinion(String approvalOpinion) {
        this.approvalOpinion = approvalOpinion;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }
}
